import Vue from 'vue'
import SvgIcon from '@/components/publicComponents/SvgIcon'// svg component

Vue.component('SvgIcon', SvgIcon)
const publicReq = require.context('./svg/publicSvg', false, /\.svg$/)
const businessReq = require.context('./svg/businessSvg', false, /\.svg$/)
const commonReq = require.context('./svg/businessSvg', false, /\.svg$/)
const requireAll = requireContext => requireContext.keys().map(requireContext)
requireAll(publicReq)
requireAll(businessReq)
requireAll(commonReq)
